<?php
$default_fetch_mode = PDO::FETCH_ASSOC;
/*
$config['nhmaster'] = array(
        'dsn' => 'mysql:host=dev.aifang.com;dbname=test_case_db',
        'username' => 'new_home',
        'password' => '123456',

        'init_attributes' => array(),
        'init_statements' => array(
                'SET CHARACTER SET utf8',
                'SET NAMES utf8'
        ),

        'default_fetch_mode' => $default_fetch_mode
);
$config['nhslave'] = array(
        'dsn' => 'mysql:host=dev.aifang.com;dbname=test_case_db',
        'username' => 'readonly',
        'password' => '123456',

        'init_attributes' => array(),
        'init_statements' => array(
                'SET CHARACTER SET utf8',
                'SET NAMES utf8'
        ),

        'default_fetch_mode' => $default_fetch_mode
);
*/